package com.siyu.rehearsal.previewresult.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.siyu.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 预演计算结果对象 t_preview_result
 *
 * @author hrhy
 * @date 2024-06-15
 */
@TableName("t_preview_result")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PreviewResult {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private String id;

    /**
     * 方案id
     */
    @Excel(name = "方案id")
    private String planId;

    /**
     * 时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tm;

    /**
     * 面雨量
     */
    @Excel(name = "面雨量")
    private Double faceRainfall;

    /**
     * 入库流量   m³/s
     */
    @Excel(name = "入库流量   m³/s")
    private Double inQt;

    /**
     * 出库流量   m³/s
     */
    @Excel(name = "出库流量   m³/s")
    private Double outQt;

    /**
     * 期末水位  m
     */
    @Excel(name = "期末水位  m")
    private Double finalLevel;

}
